package com.nightsoul.springboottest2.controller;

import java.util.Map;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ThymeleafController {

	@RequestMapping("/thymeleaf/hello")
    public String hello(Map<String, Object> map) {
       map.put("hello","from ThymeleafController.hello");

       return"/hello";
    }
}
